package com.menggudf.service.impl;

import com.menggudf.dao.AiMedicalRecordDao;
import com.menggudf.entity.AiMedicalRecord;
import com.menggudf.model.ResultModel;
import com.menggudf.service.AiMedicalRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AiMedicalRecordServiceImpl implements AiMedicalRecordService {

    @Resource
    AiMedicalRecordDao aiMedicalRecordDao;


    @Override
    public ResultModel insertAiMedicalRecord(AiMedicalRecord aiMedicalRecord) {
        AiMedicalRecord insert = aiMedicalRecordDao.insert(aiMedicalRecord);
        return ResultModel.success("保存成功",insert);
    }
}
